package com.cq.school.repository;

import com.cq.school.entity.Pictures;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: huke
 * Date: 13-12-24
 * Time: 上午12:19
 * To change this template use File | Settings | File Templates.
 */
public interface PicturesDao extends CrudRepository<Pictures, Long>, JpaSpecificationExecutor<Pictures> {
    List<Pictures> findBySchoolId(long schooolId);
}
